package manage.service;

import manage.base.BaseService;
import manage.model.Role;
import manage.util.PageInfo;

import java.util.List;

/**
 * @author: create by  Raphaelkxy
 * @version: v1.0
 * @description: manage.service
 * @date:2019/8/26
 */
public interface RoleServcie<T>extends BaseService<T> {


    //列表
    public List<Role>getALl();
    //修改
    public int saveRole(Role role);
    //删除
    public int deleteByid(int id);

    //更新
    public int updateRole(Role role);

    List<?> selectAll(PageInfo page);

    Role getbyid(Integer id);
}
